
export const menuData = [
    {
        name: 'home',
        path: '/',
        redirect: '/base/button'
    },
    {
        type: 'SubMenu',
        name: 'base',
        title: '基础组件',
        path: '/base',
        children: [
            {name: 'button', title: 'Button 按钮', path: 'button', component: () => import('./pages/base/Button')},
            // {name: 'icon', title: 'Icon 图标', path: 'icon', component: () => import('./pages/base/Icon')},
            {name: 'typography', title: 'Typography 排版', path: 'typography', component: () => import('./pages/base/Typography')},
            {name: 'Avatar', title: 'Avatar 头像', path: 'avatar', component: () => import('./pages/base/Avatar')},
            {name: 'AvatarList', title: 'AvatarList 头像列表', path: 'avatarList', component: () => import('./pages/base/AvatarList')},
            {name: 'collapase', title: 'Collapase 折叠', path: 'collapase', component: () => import('./pages/base/Collapase')},
            {name: 'popover', title: 'Popover 气泡提示', path: 'popover', component: () => import('./pages/base/Popover')},
            {name: 'spin', title: 'Spin 加载中', path: 'spin', component: () => import('./pages/base/Spin')},
            {name: 'tag', title: 'Tag 标签', path: 'tag', component: () => import('./pages/base/Tag')},
            {name: 'tooltip', title: 'Tooltip 文字提示', path: 'tooltip', component: () => import('./pages/base/Tooltip')},
            {name: 'divider', title: 'Divider 分割线', path: 'divider', component: () => import('./pages/base/Divider')},
            {name: 'draggable', title: 'Draggable 拖拽', path: 'draggable', component: () => import('./pages/base/Draggable')},
        ]
    },
    {
        type: 'SubMenu',
        name: 'layout',
        title: '布局',
        path: '/layout',
        children: [
            {name: 'grid', title: 'Row/Col 栅格', path: 'grid', component: () => import('./pages/layout/Grid')},
            {name: 'comview', title: 'View 视图', path: 'comview', component: () => import('./pages/layout/View')},
            {name: 'space', title: 'Space 间隔', path: 'space', component: () => import('./pages/layout/Space')},
            {name: 'list', title: 'List 列表', path: 'list', component: () => import('./pages/layout/List')},
            {name: 'split', title: 'Split 面板分割', path: 'split', component: () => import('./pages/layout/Split')},
            {name: 'skeleton', title: 'Skeleton 骨架屏', path: 'skeleton', component: () => import('./pages/layout/Skeleton')},
            { name: 'table-style-layout', title: 'TableStyleLayout 类表格布局', path: 'table-style-layout', component: () => import('./pages/layout/TableStyleLayout') },
        ]
    },
    {
        type: 'SubMenu',
        name: 'nav',
        title: '导航',
        path: '/nav',
        children: [
            {name: 'breadcrumb', title: 'Breadcrumb 面包屑', path: 'breadcrumb', component: () => import('./pages/nav/Breadcrumb')},
            {name: 'dropdown', title: 'Dropdown 下拉菜单', path: 'dropdown', component: () => import('./pages/nav/Dropdown')},
            {name: 'menu', title: 'Menu 导航菜单', path: 'menu', component: () => import('./pages/nav/Menu')},
            {name: 'accordion', title: 'Accordion 手风琴面板', path: 'accordion', component: () => import('./pages/nav/Accordion')},
            {name: 'pagination', title: 'Pagination 分页', path: 'pagination', component: () => import('./pages/nav/Pagination')},
            {name: 'tabs', title: 'Tabs 标签页', path: 'tabs', component: () => import('./pages/nav/Tabs')},
            {name: 'Badge', title: 'Badge 徽标', path: 'badge', component: () => import('./pages/nav/Badge')},
            {name: 'Anchor', title: 'Anchor 锚点', path: 'anchor', component: () => import('./pages/nav/Anchor')},
            {name: 'LoadingBar', title: 'LoadingBar 加载进度条', path: 'loadingbar', component: () => import('./pages/nav/LoadingBar')},
            {name: 'Steps', title: 'Steps 步骤', path: 'steps', component: () => import('./pages/nav/Steps')},
            {name: 'IndexList', title: 'IndexList 索引列表', path: 'indexlist', component: () => import('./pages/nav/IndexList')},
        ]
    },
    {
        type: 'SubMenu',
        name: 'view',
        title: '视图',
        path: '/view',
        children: [
            {name: 'message', title: 'Message 消息提示', path: 'message', component: () => import('./pages/view/Message')},
            {name: 'notice', title: 'Notice 通知', path: 'notice', component: () => import('./pages/view/Notice')},
            { name: 'popconfirm', title: 'Popconfirm 气泡确认框', path: 'popconfirm', component: () => import('./pages/view/Popconfirm') },
            {name: 'modal', title: 'Modal 对话框', path: 'modal', component: () => import('./pages/view/Modal')},
            {name: 'tree', title: 'Tree 树状控件', path: 'tree', component: () => import('./pages/view/Tree')},
            {name: 'image', title: 'Image 图片', path: 'image', component: () => import('./pages/view/Image')},
            {name: 'Timeline', title: 'Timeline 时间轴', path: 'timeline', component: () => import('./pages/view/Timeline')},
            {name: 'Carousel', title: 'Carousel 跑马灯', path: 'carousel', component: () => import('./pages/view/Carousel')},
            {name: 'Exception', title: 'Exception 异常页面', path: 'exception', component: () => import('./pages/view/Exception')},
            {name: 'QRCode', title: 'QRCode 二维码', path: 'qrcode', component: () => import('./pages/view/QRCode')},
            {name: 'Drawer', title: 'Drawer 抽屉', path: 'drawer', component: () => import('./pages/view/Drawer')},
            {name: 'PageFooter', title: 'PageFooter 页底', path: 'pagefooter', component: () => import('./pages/view/PageFooter')},
            {name: 'Banner', title: 'Banner 通知横幅', path: 'banner', component: () => import('./pages/view/Banner')},
            { name: 'SideBySide', title: 'SideBySide 对比', path: 'sidebyside', component: () => import('./pages/view/SideBySide') },
            { name: 'Watermark', title: 'Watermark 水印', path: 'watermark', component: () => import('./pages/view/Watermark') },
            { name: 'Result', title: 'Result 结果', path: 'result', component: () => import('./pages/view/Result') },
        ]
    },
    {
        type: 'SubMenu',
        name: 'formElements',
        title: '表单',
        path: '/forms',
        children: [
            {name: 'form', title: 'Form 表单', path: 'form', component: () => import('./pages/FormElements/Form')},
            {name: 'cascader', title: 'Cascader 级联选择', path: 'cascader', component: () => import('./pages/FormElements/Cascader')},
            {name: 'checkbox', title: 'Checkbox 多选框', path: 'checkbox', component: () => import('./pages/FormElements/Checkbox')},
            {name: 'radio', title: 'Radio 单选框', path: 'radio', component: () => import('./pages/FormElements/Radio')},
            {name: 'input', title: 'Input 输入框', path: 'input', component: () => import('./pages/FormElements/Input')},
            {name: 'select', title: 'Select 选择框', path: 'select', component: () => import('./pages/FormElements/Select')},
            {name: 'table', title: 'Table 表格', path: 'table', component: () => import('./pages/FormElements/Table')},
            {name: 'timepicker', title: 'Timepicker 时间选择', path: 'timepicker', component: () => import('./pages/FormElements/Timepicker')},
            {name: 'datepicker', title: 'Datepicker 日期选择', path: 'datepicker', component: () => import('./pages/FormElements/Datepicker')},
            {name: 'cascader', title: 'Cascader 级联选择', path: 'cascader', component: () => import('./pages/FormElements/Cascader')},
            {name: 'slider', title: 'Slider 滑块', path: 'slider', component: () => import('./pages/FormElements/Slider')},
            {name: 'treeSelect', title: 'TreeSelect 树选择', path: 'treeselect', component: () => import('./pages/FormElements/TreeSelect')},
            // {name: 'upload', title: 'Upload 上传', path: 'upload', component: lazy(() => import('./pages/FormElements/Upload'))},
            {name: 'progress', title: 'Progress 进度条', path: 'progress', component: () => import('./pages/FormElements/Progress')},
            {name: 'Transfer', title: 'Transfer 穿梭框', path: 'transfer', component: () => import('./pages/FormElements/Transfer')},
            { name: 'TeleportBox', title: 'TeleportBox 数据传输框', path: 'teleport', component: () => import('./pages/FormElements/TeleportBox') },
            {name: 'Switch', title: 'Switch 开关', path: 'switch', component: () => import('./pages/FormElements/Switch')},
            {name: 'Rate', title: 'Rate 评分', path: 'rate', component: () => import('./pages/FormElements/Rate')},
            {name: 'Spinner', title: 'Spinner 数字输入框', path: 'spinner', component: () => import('./pages/FormElements/Spinner')},
            // {name: 'AutoComplete', title: 'AutoComplete 自动完成', path: 'autocomplete', component: lazy(() => import('./pages/FormElements/AutoComplete'))},
            {name: 'ColorPicker', title: 'ColorPicker 颜色选择器', path: 'colorPicker', component: () => import('./pages/FormElements/ColorPicker')},
            // {name: 'Login', title: 'Login 登录', path: 'login', component: lazy(() => import('./pages/FormElements/Login'))},
        ]
    },
    {
        type: 'SubMenu',
        name: 'others',
        title: '其他',
        path: '/other',
        children: [
            { name: 'CountUp', title: 'CountUp 数字动画', path: 'countup', component: () => import('./pages/other/CountUp') },
            { name: 'CountDown', title: 'CountDown 倒计时', path: 'countdown', component: () => import('./pages/other/CountDown') },
            {name: 'virtualList', title: 'virtualList 虚拟列表', path: 'virtualList', component: () => import('./pages/other/VirtualList')},
            { name: 'WordCount', title: 'WordCount 字数统计', path: 'wordcount', component: () => import('./pages/other/WordCount') },
        ]
    },
];
